package com.kmproject.haifu.mvp.ui.widget;

import java.io.File;

/**
 * Created by Administrator on 2017/3/13 0013.
 * E-Mail：543441727@qq.com
 */

public class Subject {
    private String title;
    private int img;
     private File file;
      String filepath;//本地的地址
     private String serverPath;//服务器地址
    private String imageType;//后缀类型

    public Subject(String serverPath, String imageType) {
        this.serverPath = serverPath;
        this.imageType = imageType;
    }

    public String getImageType() {
        return imageType;
    }

    public void setImageType(String imageType) {
        this.imageType = imageType;
    }

    public Subject(String title, int img) {
        this.title = title;
        this.img = img;
    }

    public Subject(File file, String filepath) {
        this.file = file;
        this.filepath = filepath;
    }

    public String getServerPath() {
        return serverPath;
    }

    public void setServerPath(String serverPath) {
        this.serverPath = serverPath;
    }

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getImg() {
        return img;
    }

    public void setImg(int img) {
        this.img = img;
    }

}
